@charset "utf-8";
.bettingRecord {
  width: 100%;
  //padding: 10px 0;
  .betRecNavTitle {
    p {
      display: inline-block;
      span {
        font-size: 16px;
        color: #180000;
        display: inline-block;
        line-height: 46px;
        vertical-align: text-bottom;
        border-bottom: 2px solid transparent;
        &:nth-child(2){
          margin:0 10px;
          color: #999;
        }
      }
      .amount {
        &.on{
          color: #D43B3B;
          border-bottom:2px solid #D43B3B;
        }
      }

    }
  }
  .emptyData {
    text-align: center;
    padding: 100px 0 200px;
    img {
      width: 60px;
      height: 60px;
      margin: 0 auto;
    }
    p {
      margin-top: 10px;
      font-size: 12px;
      color: #9B9B9B;
      line-height: 20px;
    }
  }
  .bettingRecordTitle {
    font-size: 20px;
    color: #36464B;
    letter-spacing: 0;
    line-height: 46px;
  }
  .bettingRecordQuery {
    overflow: visible;
    margin-bottom: 10px;
    .accountSelect {
      flex: 1;
      padding: 10px 0;
    }
    .accountInput {
      justify-content: flex-end;
      margin-top: 12px;
      .accountBtnCx {
        p {
          height: 36px;
          line-height: 36px;
        }
      }
    }
  }
  .latestBetting {
    //.latesH3 {
    //  font-size: 18px;
    //  line-height: 30px;
    //  padding-bottom: 15px;
    //}

    .bettingTableItem {
      li {
        flex: 1;
        font-size: 12px;
        color: #666;
        text-align: center;
        &:first-child {
          flex: 1;
        }
        &:nth-child(2) {
          flex: 1.4;
        }
        &:nth-child(6) {
          flex: 1.3;
        }
        &:nth-child(7) {
          flex: 0.6;
        }
      }
    }
    .bettingTableTitle {
      li {
        height: 32px;
        line-height: 32px;
        text-align: center;
        background: #F9F9F9;
        font-weight: 500;
        border-radius: 2px;
        &:nth-child(2) {
          text-align: left;
          padding-left: 15px;
        }
      }
      &.fgBetTabTitInfo{
        li{
          &:nth-child(2){
            flex: 0.6;
          }
        }
      }
    }
    .bettingTableInfo {
      padding: 12px 0;
      background: #FFFFFF;
      box-shadow: inset 0 -1px 0 0 #EEEEEE;
      &.fgBetListInfo{
        li{
          &:nth-child(2){
            flex: 0.6;
            p:first-child{
              line-height: 32px;
              padding-left: 0;
            }
          }
          &:nth-child(6){
            p:first-child{
              line-height: 32px;
              &.red{
                color: #E83828;
              }
              &.green{
                color: #4caf50;
              }

            }
          }
        }
      }
      li {
        height: 36px;
        p {
          line-height: 16px;
          font-size: 12px;
          color: #36464B;
        }
        &:first-child {
          p {
            color: #666;
          }
        }
        &:first-child,
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5),
        &:nth-child(7),
        &:nth-child(8) {
          P {
            line-height: 32px;
          }
        }
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5) {
          P {
            font-size: 14px;
          }
        }
        &:nth-child(3),
        &:nth-child(5) {
          p {
            color: #D43B3B;
          }
        }
        &:nth-child(2) {
          text-align: left;
          padding-left: 15px;
          p {
            &:first-child {
              display: inline-block;
              padding-left: 20px;
              font-size: 14px;
              .creditIcon,
              .officialIcon {
                left: 0;
              }
            }
          }
        }
        &:nth-child(6) {
          P {
            &:first-child {
              padding: 0 3px;
              font-size: 14px;
              color: #D43B3B;
              margin-bottom: 4px;
            }
          }
        }
        &:nth-child(7) {
          p {
            color: #858E9A;
            &.gray {
              color: #858E9A;
            }
            &.red {
              color: #E83828;
            }
            &.green {
              color: #4caf50;
            }
          }
        }
        &:nth-child(8) {
          p {
            display: inline-block;
            padding: 0 15px 0 33px;
            margin-top: 6px;
            height: 24px;
            line-height: 24px;
            border-radius: 24px;
            color: #474E70;
            font-weight: 500;
            .viewDetailsIcon {
              left: 12px;
            }
            &:hover {
              cursor: pointer;
              background: #D43B3B;
              color: #fff;
              .viewDetailsIcon {
                //添加背景
                background: url("../../../assets/images/personal/myLottery/viewDetailsIcon_H.png") center no-repeat;
                background-size: auto 100%;
              }
            }
          }

          //&:hover {
          //  p {
          //    border-radius: 50px;
          //    background: #D43B3B;
          //    box-shadow: 0 2px 10px 0 rgba(212,59,59,0.10);
          //    color: #FAFCFD;
          //  }
          //}
        }
      }
      &:hover {
        background: #F9F9F9;
      }
    }

    .pageDevice {
      margin-top: 10px;
      text-align: right;
      padding: 15px 10px 15px 0;
    }
  }
}
